//
//  PersonInfoInputCell.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/10.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "DKTableViewCell.h"


@interface PersonInfoInputModel : NSObject

@property NSString *cueString;

@property BOOL isLeibie;

@property BOOL isRequired;

@property NSString *inputString;

@property NSString *index;

@end

@class PersonInfoInputCell;

@protocol PersonInfoInputCellDelegate <NSObject>

@optional

-(void)inputTextDidChangeWithPersonInfoInputCell:(PersonInfoInputCell*)cell changeText:(NSString*)text;

-(BOOL)personInfoInputCell:(PersonInfoInputCell*)cell textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string;

-(void)personInfoInputCell:(PersonInfoInputCell*)cell textFieldDidBeginEditing:(UITextField *)textField;

@end

@interface PersonInfoInputCell : DKTableViewCell

@property (weak) id delegate;

-(void)setCellWithData:(PersonInfoInputModel*)data;
-(void)setLeibieInfo:(NSString*)info;

@end
